#include<iostream>
#include<string>
using namespace std;
class Cdate;
class Croster
{
	friend bool Equal(const Croster& A, const Croster& B);
private:
	string name;
	int math;
	static const double score;
	double gpa;
public:
	Croster(string name = "undef", int m = 90);
	double Getgpa()const;
	void Display()const;
	void Display();
	void PrintReport(const Cdate& date) const;
};
class Cdate
{
private:
	int year, month, day;
public:
	Cdate(int y = 2000, int m = 1, int d = 1);
	friend Cdate;
};

